<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <body>

        <ui:composition template="./template/layout.xhtml">

            <ui:define name="left">

               
                <h:form>
                    <h3>
                <p:inplace label="#{album.name}" id="name">
                    <h:inputText value="#{album.name}">
                        <f:ajax  event="blur" render="name"/>
                    </h:inputText>
                </p:inplace>
                    </h3>
                <p:inplace label="#{album.description}" id="description">
                    <h:inputText value="#{album.description}">
                        <f:ajax  event="blur" render="description"/>
                    </h:inputText>
                </p:inplace>
               </h:form>
            </ui:define>
            <ui:define name="content">
                <p:imageSwitch 
            </ui:define>

            <ui:define name="bottom">
                bottom
            </ui:define>

        </ui:composition>

    </body>
</html>
